/*
 *    Copyright (c) 2018-2025, fanxl All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: fanxl (wangiegie@gmail.com)
 */

package com.snow4cloud.common.model.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 体检单位管理
 *
 * @author fanxl
 * @date 2021-04-08 14:42:32
 */
@Data
@TableName("tj_company")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "体检单位管理")
public class Company extends Model<Company> {
private static final long serialVersionUID = 1L;

    /**
     * 单位Id
     */
        @TableId(type = IdType.INPUT)
    @ApiModelProperty(value="单位Id")
    private String id;
    /**
     * 单位名称
     */
    @ApiModelProperty(value="单位名称")
    private String comName;
    /**
     * 拼音简码
     */
    @ApiModelProperty(value="拼音简码")
    private String comCode;
    /**
     * 联系人
     */
    @ApiModelProperty(value="联系人")
    private String contact;
    /**
     * 联系电话
     */
    @ApiModelProperty(value="联系电话")
    private String contactTel;
    /**
     * 单位电话
     */
    @ApiModelProperty(value="单位电话")
    private String comTel;
    /**
     * 单位简介
     */
    @ApiModelProperty(value="单位简介")
    private String comInfo;
    /**
     * 所属行业
     */
    @ApiModelProperty(value="所属行业")
    private String industry;
    /**
     * 单位性质
     */
    @ApiModelProperty(value="单位性质")
    private String comNature;
    /**
     * 显示顺序
     */
    @ApiModelProperty(value="显示顺序")
    private Integer dispOrder;
    /**
     * 单位地址
     */
    @ApiModelProperty(value="单位地址")
    private String comAddress;
    /**
     * 电子邮件
     */
    @ApiModelProperty(value="电子邮件")
    private String email;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createDate;
    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private LocalDateTime modifyDate;
    /**
     * 删除标识(0无效 1有效)
     */
    @ApiModelProperty(value="删除标识(0无效 1有效)")
    private String flag;
    /**
     * 账户余额
     */
    @ApiModelProperty(value="账户余额")
    private BigDecimal balanceOfAccount;
    /**
     * 冻结账户余额(冻结余额部分不能使用)
     */
    @ApiModelProperty(value="冻结账户余额(冻结余额部分不能使用)")
    private BigDecimal freezeBalanceOfAccount;
    /**
     * 父级单位
     */
    @ApiModelProperty(value="父级单位")
    private String parentId;
    /**
     * HIS系统单位门诊号
     */
    @ApiModelProperty(value="HIS系统单位门诊号")
    private String comPatientNo;
    /**
     * 单位病案ID
     */
    @ApiModelProperty(value="单位病案ID")
    private String comPatientId;
    /**
     * 团体编号
     */
    @ApiModelProperty(value="团体编号")
    private String comNum;
    /**
     * 单位预收款
     */
    @ApiModelProperty(value="单位预收款")
    private BigDecimal advancesReceived;
    /**
     * 单位编码
     */
    @ApiModelProperty(value="单位编码")
    private String comBm;
    /**
     * 团体编号
     */
    @ApiModelProperty(value="团体编号")
    private String teamNo;
    /**
     * 传真
     */
    @ApiModelProperty(value="传真")
    private String faksimile;
    }
